package com.baseframe.chat.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户私聊表
 * @TableName sns_chat_user
 */
@TableName(value ="sns_chat_user")
@Data
public class SnsChatUser implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 发送者编号
     */
    private Long senderId;

    /**
     * 接收者编号
     */
    private Long receiverId;

    /**
     * 内容
     */
    private String content;

    /**
     * 发送时间
     */
    private Date sendTime;

    /**
     * 
     */
    private Integer isDeleted;

    /**
     * 
     */
    private Long createBy;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Long updateBy;

    /**
     * 
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}